/**
 * @filename:PurIn Jan 15, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(采购入库单列表实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_in")
@ApiModel(value="t_pur_in对象", description="采购入库单列表表")
public class PurIn extends Model<PurIn> {

	private static final long serialVersionUID = 1736924781245595L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "billNo") 	
	@ApiModelProperty(name = "billNo" , value = "单据编号")
    private String billNo;
    
    @TableField(value = "supplierNo") 	
	@ApiModelProperty(name = "supplierNo" , value = "供应商编号")
    private String supplierNo;
    
    @TableField(value = "supplierName") 	
	@ApiModelProperty(name = "supplierName" , value = "供应商名称")
    private String supplierName;
    
    @TableField(value = "createUserName") 	
	@ApiModelProperty(name = "createUserName" , value = "创建人")
    private String createUserName;
    
    @TableField(value = "createTime") 	
	@ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;
    
    @TableField(value = "auditUserName") 	
	@ApiModelProperty(name = "auditUserName" , value = "审核人")
    private String auditUserName;
    
    @TableField(value = "auditTime") 	
	@ApiModelProperty(name = "auditTime" , value = "审核时间")
    private Date auditTime;
    
    @TableField(value = "inspectUser") 	
	@ApiModelProperty(name = "inspectUser" , value = "质检员")
    private String inspectUser;
    
    @TableField(value = "stockNo") 	
	@ApiModelProperty(name = "stockNo" , value = "仓库编号")
    private String stockNo;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "单据状态")
    private String status;
    
    @TableField(value = "count") 	
	@ApiModelProperty(name = "count" , value = "数量")
    private Double count;

    @TableField(value = "inspectBillNo")
    @ApiModelProperty(name = "inspectBillNo" , value = "来料检验单号")
    private String inspectBillNo;


    @TableField(value = "receiveBillNo")
    @ApiModelProperty(name = "receiveBillNo" , value = "收料通知单号")
    private String receiveBillNo;


    @TableField(exist = false)
    @ApiModelProperty(name = "isWeight" , value = "是否称重")
    private Boolean isWeight;

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
